class PostResponseModel1 {
  int code;
  String message;
  List<Result> result;

  PostResponseModel1({this.code, this.message, this.result});

  PostResponseModel1.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    message = json['message'];
    if (json['result'] != null) {
      result = new List<Result>();
      json['result'].forEach((v) {
        result.add(new Result.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['message'] = this.message;
    if (this.result != null) {
      data['result'] = this.result.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class Result {
  String path;
  String image;
  String title;
  String passtime;

  Result({this.path, this.image, this.title, this.passtime});

  Result.fromJson(Map<String, dynamic> json) {
    path = json['path'];
    image = json['image'];
    title = json['title'];
    passtime = json['passtime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['path'] = this.path;
    data['image'] = this.image;
    data['title'] = this.title;
    data['passtime'] = this.passtime;
    return data;
  }
}